/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * GroupDetailsPanel.java
 *
 * Created on Sep 2, 2009, 8:29:22 PM
 */

package SocialValueSliderPackage;

import java.awt.Dimension;
import java.util.Vector;

/**
 *
 * @author Heather
 */
public class GroupDetailsPanel extends javax.swing.JPanel {

  /**
   * @return the DEFAULT_SIZE
   */
  public static Dimension getDEFAULT_SIZE()
  {
    return DEFAULT_SIZE;
  }

    /** Creates new form GroupDetailsPanel */
    public GroupDetailsPanel() {
        initComponents();
        // comment out for delivery
        groupDetailsWealthLabel.setVisible(false);
        groupDetailsWealthTextPane.setVisible(false);
        groupDetailsSetWealthButton.setVisible(false);
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    groupDetailsWealthLabel = new javax.swing.JLabel();
    groupDetailsPopulationLabel = new javax.swing.JLabel();
    groupDetailsWealthTextPane = new javax.swing.JTextField();
    groupDetailsSetWealthButton = new javax.swing.JButton();
    groupDetailsPopulationTextPane = new javax.swing.JTextField();
    groupDetailsSetPopulationButton = new javax.swing.JButton();
    jScrollPane1 = new javax.swing.JScrollPane();
    groupDetailsTitlePane = new javax.swing.JTextArea();
    yearLabel = new javax.swing.JLabel();

    setBackground(new java.awt.Color(255, 255, 204));
    setMinimumSize(new java.awt.Dimension(500, 300));
    setPreferredSize(new java.awt.Dimension(500, 300));
    setLayout(null);

    groupDetailsWealthLabel.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
    groupDetailsWealthLabel.setText("Wealth");
    add(groupDetailsWealthLabel);
    groupDetailsWealthLabel.setBounds(260, 200, 230, 20);

    groupDetailsPopulationLabel.setFont(new java.awt.Font("Tahoma", 1, 14));
    groupDetailsPopulationLabel.setText("Population");
    add(groupDetailsPopulationLabel);
    groupDetailsPopulationLabel.setBounds(10, 200, 230, 20);
    add(groupDetailsWealthTextPane);
    groupDetailsWealthTextPane.setBounds(260, 220, 230, 20);

    groupDetailsSetWealthButton.setText("Set Wealth");
    add(groupDetailsSetWealthButton);
    groupDetailsSetWealthButton.setBounds(260, 240, 230, 30);
    add(groupDetailsPopulationTextPane);
    groupDetailsPopulationTextPane.setBounds(10, 220, 230, 20);

    groupDetailsSetPopulationButton.setText("Set Population");
    add(groupDetailsSetPopulationButton);
    groupDetailsSetPopulationButton.setBounds(10, 240, 230, 30);

    jScrollPane1.setBackground(new java.awt.Color(255, 255, 204));

    groupDetailsTitlePane.setBackground(new java.awt.Color(255, 255, 204));
    groupDetailsTitlePane.setColumns(20);
    groupDetailsTitlePane.setEditable(false);
    groupDetailsTitlePane.setFont(new java.awt.Font("Monospaced", 1, 14)); // NOI18N
    groupDetailsTitlePane.setRows(5);
    groupDetailsTitlePane.setBorder(null);
    jScrollPane1.setViewportView(groupDetailsTitlePane);

    add(jScrollPane1);
    jScrollPane1.setBounds(10, 50, 480, 140);

    yearLabel.setFont(new java.awt.Font("Tahoma", 1, 20));
    yearLabel.setText("Year");
    add(yearLabel);
    yearLabel.setBounds(10, 10, 480, 30);
  }// </editor-fold>//GEN-END:initComponents


  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JLabel groupDetailsPopulationLabel;
  private javax.swing.JTextField groupDetailsPopulationTextPane;
  private javax.swing.JButton groupDetailsSetPopulationButton;
  private javax.swing.JButton groupDetailsSetWealthButton;
  private javax.swing.JTextArea groupDetailsTitlePane;
  private javax.swing.JLabel groupDetailsWealthLabel;
  private javax.swing.JTextField groupDetailsWealthTextPane;
  private javax.swing.JScrollPane jScrollPane1;
  private javax.swing.JLabel yearLabel;
  // End of variables declaration//GEN-END:variables
  public static final Dimension DEFAULT_SIZE = new Dimension(500, 350);
  public Vector<int[]> representedGroups = new Vector<int[]>();

  /**
   * @return the groupDetailsPopulationLabel
   */
  public javax.swing.JLabel getGroupDetailsPopulationLabel()
  {
    return groupDetailsPopulationLabel;
  }

  /**
   * @return the groupDetailsPopulationTextPane
   */
  public javax.swing.JTextField getGroupDetailsPopulationTextPane()
  {
    return groupDetailsPopulationTextPane;
  }

  /**
   * @return the groupDetailsSetPopulationButton
   */
  public javax.swing.JButton getGroupDetailsSetPopulationButton()
  {
    return groupDetailsSetPopulationButton;
  }

  /**
   * @return the groupDetailsSetWealthButton
   */
  public javax.swing.JButton getGroupDetailsSetWealthButton()
  {
    return groupDetailsSetWealthButton;
  }

  /**
   * @return the groupDetailsWealthLabel
   */
  public javax.swing.JLabel getGroupDetailsWealthLabel()
  {
    return groupDetailsWealthLabel;
  }

  /**
   * @return the groupDetailsWealthTextPane
   */
  public javax.swing.JTextField getGroupDetailsWealthTextPane()
  {
    return groupDetailsWealthTextPane;
  }

  /**
   * @return the groupDetailsTitlePane
   */
  public javax.swing.JTextArea getGroupDetailsTitlePane()
  {
    return groupDetailsTitlePane;
  }

  /**
   * @return the jScrollPane1
   */
  public javax.swing.JScrollPane getJScrollPane1()
  {
    return jScrollPane1;
  }

  /**
   * @return the representedGroups
   */
  public Vector<int[]> getRepresentedGroups()
  {
    return representedGroups;
  }

  /**
   * @return the yearLabel
   */
  public javax.swing.JLabel getYearLabel()
  {
    return yearLabel;
  }

  /**
   * @param yearLabel the yearLabel to set
   */
  public void setYearLabel(javax.swing.JLabel yearLabel)
  {
    this.yearLabel = yearLabel;
  }

}
